package com.zxxy.spring12.controller;

import com.zxxy.spring12.service.impl.impl.ITeacherService;
import com.zxxy.spring12.service.impl.impl.ITeacherServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

@Service

public class TeacherServiceImpl implements ITeacherService {
    @Autowired
    private ITeacherDao teacherService;

    /*public ITeacherService getTeacherService() {
        return teacherService;
    }
    public void setTeacherService(ITeacherService teacherService) {
        this.teacherService = teacherService;
    }   */

    @Override
    public void addTeacher(){

    }
    @Override
    public void updateTeacher(){

    }
    @Override
    public void deleteTeacher(){

    }
    public void registerTeacher(){
        teacherService.registerTeacher();

    }
}
